$OpenBSD: patch-clients_cgilib_c,v 1.4 2007/05/18 12:22:46 henning Exp $
--- clients/cgilib.c.orig	Thu Jan 27 15:33:14 2005
+++ clients/cgilib.c	Fri May 18 13:54:23 2007
@@ -162,7 +162,7 @@ int checkhost(const char *host, char **desc)
 	if (!host)
 		return 0;		/* deny null hostnames */
 
-	snprintf(fn, sizeof(fn), "%s/hosts.conf", confpath());
+	snprintf(fn, sizeof(fn), "%s/hosts.conf", cgiconfpath());
 
 	pconf_init(&ctx, cgilib_err);
 
